//
//  JiFenNewsViewCell.m
//  PosApp
//
//  Created by 刘萍 on 2018/9/8.
//  Copyright © 2018年 李英新. All rights reserved.
//

#import "JiFenNewsViewCell.h"

@implementation JiFenNewsViewCell

- (void)setModel:(JiFenNewsModel *)model {
    self.JFNewsBackView.layer.cornerRadius = 8;
    self.JFNewsBackView.layer.masksToBounds = YES;
    self.ShopName.text = [NSString stringWithFormat:@"%@",model.goods_name];
    self.VipPrice.adjustsFontSizeToFitWidth = YES;
    self.VipPrice.text = [NSString stringWithFormat:@"%@",model.goods_vip];
    self.PriceLabel.adjustsFontSizeToFitWidth = YES;
    self.PriceLabel.text = [NSString stringWithFormat:@"%@",model.goods_price1];
    [self.BankImage sd_setImageWithURL:[NSURL URLWithString:model.bank_icon] placeholderImage:[UIImage imageNamed:@"MainZWImage"]];
    self.BankName.text = [NSString stringWithFormat:@"%@",model.bank_name];
    self.TimeLabel.text = [NSString stringWithFormat:@"%@",model.goods_addtime];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
